package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.core.domain.EngineInfo;
import com.task.core.dto.request.EngineRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/11/4 17:26
 */
public interface EngineService {

  List<EngineInfo> getEngineByPage(EngineRequestDTO request);

  List<KeyAndValue> getEngineForOption(EngineRequestDTO request);

  void addEngine(EngineRequestDTO request);

  void modifyEngine(EngineRequestDTO request);

  void deleteEngine(String engineCode, Long userId);

  EngineInfo getEngineByCode(String code);
  List<EngineInfo> getEngineByCodes(List<String> code);

  List<String> getAllCodes();

  Integer getCountByVersionCodes(List<String> versionCodes);
}
